package com.tiantai.dashboard.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tiantai.common.annotation.Excel;
import com.tiantai.common.core.domain.BaseEntity;

/**
 * 种植管理对象 tea_plant
 * 
 * @author handsomedog
 * @date 2025-01-24
 */
public class TeaPlant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 茶园ID */
    private Long id;

    /** 年份 */
    @Excel(name = "年份")
    private String name;

    /** 面积 */
    @Excel(name = "面积")
    private Long gardenArea;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer orderNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGardenArea(Long gardenArea) 
    {
        this.gardenArea = gardenArea;
    }

    public Long getGardenArea() 
    {
        return gardenArea;
    }
    public void setOrderNum(Integer orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() 
    {
        return orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("gardenArea", getGardenArea())
            .append("orderNum", getOrderNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
